﻿<input type="button" id="btn_back" value="Back" />
<h2>Person Info
</h2>
<div id="personById">
    <table class="tab">
        <tr>
            <td>Id</td>
            <td>
                <input type="text" id="txt_personInfo_id" /></td>
        </tr>
        <tr>
            <td>Name</td>
            <td>
                <input type="text" id="txt_personInfo_name" /></td>
        </tr>
        <tr>
            <td>Birthday</td>
            <td>
                <input type="text" id="txt_personInfo_birthday" /></td>
        </tr>
        <tr>
            <td>Address</td>
            <td>
                <input type="text" id="txt_personInfo_address" /></td>
        </tr>
    </table>
</div>
<h2>His Books Info</h2>
<div id="booksByPerson"></div>
<script>
    document.getElementById("btn_back").addEventListener("click", function () {
        _includeHelper.resetInclude(container, "Module/Person/Person.html");
        pp.doAction({ action: "GetPersonList" });
    }, false);
    //var state = _historyHelper.currentHistoryState;
    //pp.doAction(state);
</script>